﻿using System.ComponentModel.DataAnnotations;

namespace SU.Center.Domain.SY
{
    /// <summary>
    /// 信息表
    /// </summary>
    public class Information
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int InformationId { get; set; }
        /// <summary>
        ///产品外键
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string InformationBatch { get; set; }
        /// <summary>
        /// 保质期（天）
        /// </summary>
        public string InformationDay { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string InformationCertificate { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string InformationEnterprise { get; set; }
        /// <summary>
        /// 封面
        /// </summary>
        public string InformationCover { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public string InformationImprove { get; set; } = "100%";
        /// <summary>
        /// 创建人
        /// </summary>
        public string InformationCreate { get; set; } = "张三";
        /// <summary>
        /// 创建时间
        /// </summary>
        public string InformationTiem { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        /// <summary>
        /// 修改人
        /// </summary>
        public string InformationModify { get; set; } = "张三";

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool InformationDel { get; set; } = false;
    }
}
